package cn.com.nes.site.service.crm.opportunity;

import cn.com.nes.mybatis.agent.crm.entity.RelationOpportunity;
import cn.com.nes.site.controller.crm.opportunity.vo.RelationOpportunityPageVO;
import cn.com.nes.site.service.crm.opportunity.bo.RelationOpportunityBO;
import cn.com.nes.site.service.crm.opportunity.dto.OpportunityAndContractDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface RelationOpportunityService extends IService<RelationOpportunity> {

    void relationOpportunity(RelationOpportunityBO relationOpportunityBO) throws Exception;


    Page<OpportunityAndContractDTO> getRelationOpportunity(
            RelationOpportunityPageVO relationOpportunityPageVO) throws Exception;


    void delRelationOpportunity(RelationOpportunityBO relationOpportunityBO) throws Exception;

}
